package library.http;

import java.lang.reflect.Type;

/**
 * Created by Mr.Fan on 2017/3/25.
 */

public interface Converter<From, To> {

    String[] getContentTypes();

    To convert(From data, Type actualType) throws Throwable;


}